package com.cjw.pojo.dto.database;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class RoleDTO extends BaseDTO implements Serializable {
    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("资源列表")
    private List<ResourceDTO> resourceDTOList;

    @ApiModelProperty("资源ID列表")
    private Long[] resourceIds;
}
